# Created Time:    2019-04-17 14:46:11
# Modified Time:   2019-04-22 18:58:03
cmake_minimum_required(VERSION 2.7.4 FATAL_ERROR)

include_directories(
    .
    ${CMAKE_SOURCE_DIR}/common
)

# 查找当前目录下的所有源文件
# 并将名称保存到 DIR_SRCS 变量
aux_source_directory(. DIR_LIB_SRCS)
aux_source_directory(thread DIR_LIB_SRCS)
aux_source_directory(fs DIR_LIB_SRCS)
aux_source_directory(mem DIR_LIB_SRCS)
aux_source_directory(ostime DIR_LIB_SRCS)
aux_source_directory(cli DIR_LIB_SRCS)
aux_source_directory(log DIR_LIB_SRCS)
aux_source_directory(ostmr DIR_LIB_SRCS)
aux_source_directory(socket DIR_LIB_SRCS)
aux_source_directory(cfg DIR_LIB_SRCS)

# 生成链接库
add_library (sal ${DIR_LIB_SRCS})

